package java_zuoye_2;

import java.util.ArrayList;

public class homework_6 {
	public static void main(String[] arg) {
		ArrayList<Integer> numbers = new ArrayList<Integer>();
		numbers.add(100);
		numbers.add(200);
		numbers.add(300);
		printNumbers(numbers);
	}

	private static void printNumbers(ArrayList<Integer> numbers) {
		int j = 0;
		System.out.print("{");
		for(int i = numbers.size(); i > 1; i--,j++) {
			System.out.print(numbers.get(j) + "@");	
		}
		System.out.print(numbers.get(j) + "}");
	}
}
